package com.ruoyi.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 验证码表对象 service_code
 * 
 * @author ZDL
 * @date 2024-12-03
 */
public class ServiceCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 验证码主键ID */
    private Long codeId;

    /** 验证码 */
    @Excel(name = "验证码")
    private String codeCode;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long codeOrderid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long codeUserid;

    /** 0未使用1使用 */
    @Excel(name = "0未使用1使用")
    private String codeUseflag;

    public void setCodeId(Long codeId) 
    {
        this.codeId = codeId;
    }

    public Long getCodeId() 
    {
        return codeId;
    }
    public void setCodeCode(String codeCode) 
    {
        this.codeCode = codeCode;
    }

    public String getCodeCode() 
    {
        return codeCode;
    }
    public void setCodeOrderid(Long codeOrderid) 
    {
        this.codeOrderid = codeOrderid;
    }

    public Long getCodeOrderid() 
    {
        return codeOrderid;
    }
    public void setCodeUserid(Long codeUserid) 
    {
        this.codeUserid = codeUserid;
    }

    public Long getCodeUserid() 
    {
        return codeUserid;
    }
    public void setCodeUseflag(String codeUseflag) 
    {
        this.codeUseflag = codeUseflag;
    }

    public String getCodeUseflag() 
    {
        return codeUseflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("codeId", getCodeId())
            .append("codeCode", getCodeCode())
            .append("codeOrderid", getCodeOrderid())
            .append("codeUserid", getCodeUserid())
            .append("codeUseflag", getCodeUseflag())
            .toString();
    }
}
